package com.car.serve.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Data
@ConfigurationProperties(prefix = "mybatis.type-handlers")
public class TypeHandlerProperties {
    private String packagePath;
    private List<TypeHandlerConfig> configs;


    @Data
    public static class TypeHandlerConfig {
        private String handler;
        private String javaType;

    }
}
